package io.renren.modules.ledger.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.base.BaseService;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;
import io.renren.modules.ledger.entity.MemberConnEntity;

import java.util.Map;

/**
 * 用户关系表
 * @Author lililiang
 * @Date 2021-01-13 12:02:05
 */
public interface MemberConnService extends IService<MemberConnEntity>, BaseService<MemberConnEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据id查询详情
     */
    MemberConnEntity queryOneById(Long id);

    R addConn(MemberConnEntity entity);

    R sync(MemberConnEntity entity);
}

